package com.kashow.bean.login;

import com.kashow.bean.BaseBean;

/**
 * Created by cg on 16/12/13.
 */

public class LoginBean extends BaseBean {

    /**
     * _id : 89
     * nickname : user89
     * phone : 18605667073
     * createdAt : 2016-12-06T10:10:00.264Z
     * isSub : false
     * sex : 0
     * balance : 0
     * score : 0
     * level : 1
     * isTeacher : false
     */

    private int _id;
    private String nickname;
    private String phone;
    private String createdAt;
    private boolean isSub;
    private int sex;
    private int balance;
    private float score;
    private int level;
    private boolean isTeacher;

    public void set_id(int _id) {
        this._id = _id;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setCreatedAt(String createdAt) {
        this.createdAt = createdAt;
    }

    public void setIsSub(boolean isSub) {
        this.isSub = isSub;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public void setBalance(int balance) {
        this.balance = balance;
    }

    public void setScore(float score) {
        this.score = score;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public void setIsTeacher(boolean isTeacher) {
        this.isTeacher = isTeacher;
    }

    public int get_id() {
        return _id;
    }

    public String getNickname() {
        return nickname;
    }

    public String getPhone() {
        return phone;
    }

    public String getCreatedAt() {
        return createdAt;
    }

    public boolean getIsSub() {
        return isSub;
    }

    public int getSex() {
        return sex;
    }

    public int getBalance() {
        return balance;
    }

    public float getScore() {
        return score;
    }

    public int getLevel() {
        return level;
    }

    public boolean getIsTeacher() {
        return isTeacher;
    }
}
